namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("V_STATS_RC_WEIGHTING")]
    public partial class V_STATS_RC_WEIGHTING
    {
        [Key]
        [Column(Order = 0)]
        [StringLength(40)]
        public string WEIGHING_ID { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(40)]
        public string PROCESS_ID { get; set; }

        [StringLength(40)]
        public string CAR_ID { get; set; }

        [StringLength(50)]
        public string LPR { get; set; }

        [StringLength(40)]
        public string DETAIL_ID { get; set; }

        [StringLength(40)]
        public string BATCH_CODE { get; set; }

        [StringLength(40)]
        public string MINE_ID { get; set; }

        [StringLength(50)]
        public string MINE_NAME { get; set; }

        [StringLength(40)]
        public string MATERIEL_ID { get; set; }

        [StringLength(50)]
        public string MATERIEL_NAME { get; set; }

        [StringLength(40)]
        public string SUPPLIER_ID { get; set; }

        [StringLength(50)]
        public string SUPPLIER_NAME { get; set; }

        [StringLength(40)]
        public string TRANSPORT_ID { get; set; }

        [StringLength(50)]
        public string TRANSPORT_NAME { get; set; }

        [Key]
        [Column(Order = 2)]
        public decimal GROSS { get; set; }

        [Key]
        [Column(Order = 3)]
        public DateTime GROSS_TIME { get; set; }

        [Key]
        [Column(Order = 4)]
        public decimal TARE { get; set; }

        [Key]
        [Column(Order = 10)]
        public DateTime TARE_TIME { get; set; }

        [Key]
        [Column(Order = 5)]
        public decimal NET { get; set; }

        [Key]
        [Column(Order = 7)]
        public decimal COEFFECENT { get; set; }

        [Key]
        [Column(Order = 8)]
        public decimal CUTBILL { get; set; }

        [Key]
        [Column(Order = 9)]
        public decimal BALANCE { get; set; }

        public decimal? BILL_WEIGHT { get; set; }

        public bool? IS_COAL { get; set; }

        public DateTime? STATS_TIME { get; set; }

        public decimal? STATS_YEAR { get; set; }

        public decimal? STATS_MONTH { get; set; }

        public decimal? STATS_DAY { get; set; }

    }
}
